let miaoMiao = {
    _name:'疫苗',
    get name() { // get 属性，要查一下是 ES几的语法
        return this._name
    }
}

let miaoXY = new Proxy(miaoMiao,{
    // get(target,prop) {
    //     return target[prop];
    // }
    get(target,prop,receiver) {
        return Reflect.get(target,prop,reciver); // Reflect.get 可以指定接收者，读取一个对象O的属性时，O上没有，从原型对象上找，找到了后将属性值返回，O就是接收者；
    }
})

let kexinMiao = {
    __proto__:miaoXY,
    _name:'科兴疫苗'
}


console.log(miaoXY.name,miaoMiao._name);
console.log(miaoXY.name);
console.log(kexinMiao.__proto__);
console.log(kexinMiao.name);
